1 //! moment.js locale configuration
2 //! locale : German (Austria) [de-at]
3 //! author : lluchs : https://github.com/lluchs
4 //! author: Menelion Elensúle: https://github.com/Oire
5 //! author : Martin Groller : https://github.com/MadMG
6 //! author : Mikolaj Dadela : https://github.com/mik01aj
8 ;(function (global
, factory
) {
9 typeof exports
=== 'object' && typeof module
!== 'undefined'
10 && typeof require
=== 'function' ? factory(require('../moment')) :
11 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
12 factory(global
.moment
)
13 }(this, function (moment
) { 'use strict';
16 function processRelativeTime(number
, withoutSuffix
, key
, isFuture
) {
18 'm': ['eine Minute', 'einer Minute'],
19 'h': ['eine Stunde', 'einer Stunde'],
20 'd': ['ein Tag', 'einem Tag'],
21 'dd': [number
+ ' Tage', number
+ ' Tagen'],
22 'M': ['ein Monat', 'einem Monat'],
23 'MM': [number
+ ' Monate', number
+ ' Monaten'],
24 'y': ['ein Jahr', 'einem Jahr'],
25 'yy': [number
+ ' Jahre', number
+ ' Jahren']
27 return withoutSuffix
? format
[key
][0] : format
[key
][1];
30 var de_at
= moment
.defineLocale('de-at', {
31 months
: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
32 monthsShort
: 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
33 monthsParseExact
: true,
34 weekdays
: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
35 weekdaysShort
: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
36 weekdaysMin
: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
37 weekdaysParseExact
: true,
43 LLL
: 'D. MMMM YYYY HH:mm',
44 LLLL
: 'dddd, D. MMMM YYYY HH:mm'
47 sameDay
: '[heute um] LT [Uhr]',
49 nextDay
: '[morgen um] LT [Uhr]',
50 nextWeek
: 'dddd [um] LT [Uhr]',
51 lastDay
: '[gestern um] LT [Uhr]',
52 lastWeek
: '[letzten] dddd [um] LT [Uhr]'
57 s
: 'ein paar Sekunden',
58 m
: processRelativeTime
,
60 h
: processRelativeTime
,
62 d
: processRelativeTime
,
63 dd
: processRelativeTime
,
64 M
: processRelativeTime
,
65 MM
: processRelativeTime
,
66 y
: processRelativeTime
,
67 yy
: processRelativeTime
69 ordinalParse
: /\d{1,2}\./,
72 dow
: 1, // Monday is the first day of the week.
73 doy
: 4 // The week that contains Jan 4th is the first week of the year.